package com.springboot.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.springboot.test01.User1Mapper;
import com.springboot.test02.User2Mapper;

@RestController
public class MoreController {
	@Autowired
	private User1Mapper user1Mapper;
	@Autowired
	private User2Mapper user2Mapper;
	@RequestMapping("/moreSave")
	public void add(){
		user1Mapper.addUser("gsgsgs", 122);
		user2Mapper.addUser("uueue", 123);
	}
	
}
